package com.ddmmo.exhibition.localBOSS.examination.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("ks_answers")
public class KsAnswersPO {

    @ApiModelProperty(value = "题目ID")
    @TableField("question_id")
    private String questionId;

    @ApiModelProperty(value = "用户答案")
    @TableField("user_answer")
    private String userAnswer;

    @ApiModelProperty(value = "正确答案")
    @TableField("correct_answer")
    private String correctAnswer;

    @ApiModelProperty(value = "是否正确 0: 正确, 1: 错误")
    @TableField("is_correct")
    private Integer isCorrect;

    @ApiModelProperty(value = "分值")
    @TableField("score")
    private Double score;

    @ApiModelProperty(value = "答案ID")
    @TableField("id")
    private String id;

    @ApiModelProperty(value = "考试ID")
    @TableField("exam_id")
    private String examId;

}
